package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 产品管理对象 yz_product
 * 
 * @author ruoyi
 * @date 2024-03-29
 */
public class YzProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品Id */
    @Excel(name = "产品Id")
    private Long productId;

    /** 产品姓名 */
    @Excel(name = "产品姓名")
    private String productName;

    /** 产品的最后一级分类产品分类 */
    @Excel(name = "产品的最后一级分类产品分类")
    private Long productClassify;

    /** 产品的测试参数 */
    @Excel(name = "产品的测试参数")
    private Long productTestnum;

    /** 产品的应用领域 */
    @Excel(name = "产品的应用领域")
    private Long productArea;

    /** 产品的简介 */
    @Excel(name = "产品的简介")
    private String productIntro;

    /** 产品的详细介绍 */
    @Excel(name = "产品的详细介绍")
    private String productDetail;

    /** 产品的图片 */
    @Excel(name = "产品的图片")
    private String productPictures;

    /** 产品的附件 */
    @Excel(name = "产品的附件")
    private String productFile;

    private String classifyName;

    public String getClassifyName() {
        return classifyName;
    }

    public void setClassifyName(String classifyName) {
        this.classifyName = classifyName;
    }

    private List<Long> classifies;

    public List<Long> getClassifies() {
        return classifies;
    }

    public void setClassifies(List<Long> classifies) {
        this.classifies = classifies;
    }

    public void setProductId(Long productId)
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductClassify(Long productClassify) 
    {
        this.productClassify = productClassify;
    }

    public Long getProductClassify() 
    {
        return productClassify;
    }
    public void setProductTestnum(Long productTestnum) 
    {
        this.productTestnum = productTestnum;
    }

    public Long getProductTestnum() 
    {
        return productTestnum;
    }
    public void setProductArea(Long productArea) 
    {
        this.productArea = productArea;
    }

    public Long getProductArea() 
    {
        return productArea;
    }
    public void setProductIntro(String productIntro) 
    {
        this.productIntro = productIntro;
    }

    public String getProductIntro() 
    {
        return productIntro;
    }
    public void setProductDetail(String productDetail) 
    {
        this.productDetail = productDetail;
    }

    public String getProductDetail() 
    {
        return productDetail;
    }
    public void setProductPictures(String productPictures) 
    {
        this.productPictures = productPictures;
    }

    public String getProductPictures() 
    {
        return productPictures;
    }
    public void setProductFile(String productFile) 
    {
        this.productFile = productFile;
    }

    public String getProductFile() 
    {
        return productFile;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("productClassify", getProductClassify())
            .append("productTestnum", getProductTestnum())
            .append("productArea", getProductArea())
            .append("productIntro", getProductIntro())
            .append("productDetail", getProductDetail())
            .append("productPictures", getProductPictures())
            .append("productFile", getProductFile())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
